Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding tests for versioning updates through relation changes that should pass (but don't) #196

Conversation

ScopeyNZ
Copy link
Contributor

This PR just adds a failing test for the issue described in #195 . This shouldn't be merged without a fix to correct the failing test but it's here for the record

$this->assertCount(
4,
Versioned::get_all_versions(ParentObject::class, $parent->ID),
'Adding an relation to an object that owns that relation that is a relation owned by the parent object did '
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was hard to describe in a message 😂

@ScopeyNZ
Copy link
Contributor Author

@unclecheese Are you likely to need this with the work you've been doing? If not feel free to close it 🙂

@unclecheese
Copy link

Closing as this is covered by the unit test suite in versioned-snapshots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants